package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Answer;
import cn.wolfcode.trip.base.domain.Question;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IQuestionService {
    PageInfo<Question> query(QueryObject qo);

    void save(Question question);

    Question selectById(Long id);

    List<Answer> selectAnswersById(Long questionId);
}
